package com.zbc.dto;

import com.zbc.entity.Dish;
import com.zbc.entity.Flavors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("菜品参数")
public class DishDTO implements Serializable {
    @ApiModelProperty("菜品id")
    private Integer id;
    @ApiModelProperty("菜品类型id")
    private Integer categoryId;
    @ApiModelProperty("菜品备注信息")
    private String description;
    @ApiModelProperty("菜品口味爱好")
    private List<Flavors> flavors = new ArrayList<>();
    @ApiModelProperty("菜品图片")
    private String image;
    @ApiModelProperty("菜品名称")
    private String name;
    @ApiModelProperty("菜品价格")
    private Double price;
    @ApiModelProperty("菜品状态")
    private Integer status;
}
